import { createRouter,createWebHashHistory } from "vue-router";
const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        // 路由重定向
        {path:'/',redirect:'/login'},
        {path:'/login',component:() => import('./components/Login.vue')}
    ]
})
export default router